﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using ScrumLite.Services;
using ScrumLite.Services.Contracts;
using System.Collections.ObjectModel;

namespace ScrumLite.Gateways
{
    public class ProfileServiceClient : ClientBase<IProfileService>, IProfileService
    {

        #region IProfileService Members

        public string GetFullName(string samAccountName)
        {
            return base.Channel.GetFullName(samAccountName);
        }

        public string[] GetUserRoles(string samAccountName)
        {
            return base.Channel.GetUserRoles(samAccountName);
        }

        public bool IsUserInRole(string samAccountName, string role)
        {
            return base.Channel.IsUserInRole(samAccountName, role);
        }

        public Collection<Person> GetPeople()
        {
            return base.Channel.GetPeople();
        }

        #endregion
    }
}
